Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

feat: support filecoin hamt in same schema #338

Closed
wants to merge 1 commit into from
Closed

Conversation

mikeal
Copy link
Contributor

@mikeal mikeal commented Nov 23, 2020

This is an attempt to support the Filecoin HAMT in the same schema. We should discuss the implications of this in the IPLD call because I’m not sure how well a double union will work in practice.

@mikeal
Copy link
Contributor Author

mikeal commented Feb 4, 2021

@rvagg @mvdan where did we land with this? Did this end up working for the new Go implementation of did we find some other reason we can’t make the schemas compatible?

@willscott
Copy link
Member

i believe they are compatible for the forthcoming actor hamts in spec-actors v3

@mvdan
Copy link
Contributor

mvdan commented Feb 4, 2021

Yes, luckily their v3 now uses a kinded union for their equivalent to our Element :)

Something like what you did here would be useful if we want to support filecoin HAMTs older than v3 with our ADL, but as far as I know that's not planned right now. So I think we should close this PR for the time being, without losing the diff in case we want to dig it up later.

@mikeal mikeal closed this Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants